//
//  NSDictionary+getValues.m
//  sdplan
//
//  Created by 逸帆 黄 on 15/5/4.
//  Copyright (c) 2015年 逸帆 黄. All rights reserved.
//

#import "NSDictionary+getValues.h"
#import "Utils.h"

@implementation NSDictionary (getValues)


-(id)objectForKeySDPlan:(id)key
{
    return [Utils isBlankString:[self objectForKey:key]];
}

-(id)objectForKeyDicOrArray:(id)key
{
    id object = [self objectForKey:key];
    if (object!=nil&&object!=NULL&&![object isKindOfClass:[NSNull class]]) {
        return [self objectForKey:key];
    }else
        return nil;
}
@end
